import { BaseService, Service, Permission } from '@/cool';

@Service('crm/jljWechatReport')
export default class extends BaseService {
	@Permission('report')
	report(params) {
		return this.request({
			url: '/report',
			params: {
				...params
			}
		});
	}
	@Permission('reportExcel')
	reportExcel(params) {
		return this.request({
			url: '/reportExcel',
			params: {
				...params
			}
		});
	}
	@Permission('channelReport')
	channelReport(params) {
		return this.request({
			url: '/channelReport',
			params: {
				...params
			}
		});
	}
	@Permission('jljWxChanneExport')
	jljWxChanneExport(params) {
		return this.request({
			url: '/jljWxChanneExport',
			params: {
				...params
			}
		});
	}

	@Permission('getChannel')
	getChannel(params) {
		return this.request({
			url: '/getChannel',
			params: {
				...params
			}
		});
	}
}
